{foreach:items=$datalist }
{set:$free_time = ITime::getDiffSec($item['end_time'])}

<a href="{url:/yunsite/products/id/$item['goods_id']/active_id/$item['p_id']/promo/time}"
   class="product col-100 alink" cutid="{$item['p_id']}">
    <figure>
        <img data-src="{$item['goods_add_img']}" class="lazy" alt="">

        <figcaption>
            <h2><em>【{$item['name']}】</em>{$item['gname']}</h2>
            <div class="countdown">
                活动时间倒计时
                <div class="time"><b id='cd_hour_{$item['p_id']}'>{echo:floor($free_time/3600);}</b>时<b
                        id='cd_minute_{$item['p_id']}'>{echo:floor(($free_time%3600)/60);}</b>分<b
                        id='cd_second_{$item['p_id']}'>{echo:$free_time%60;}</b>秒</p></div>
            </div>
            <div class="pro-bar row">

                <div class="price">
                    <ins>活动价<small>&yen;</small>{$item['award_value']}</ins>
                    <del>市场价:<small>&yen;</small>{$item['price']}</del>
                </div>
                <small>包邮</small>
            </div>
        </figcaption>
    </figure>
</a>
{/foreach}